Fixed error in entity

Who wrote that crap?