sorta fixed energy bug..