fixed string to int bug in player model