Resavepackeges commandlet broke my enum

Hi, wen I launch the resavepackeges commandlet, all my enum that I call in the functions have been converted into bytes. How can I fix this?