modified player model to use string code
fix ALL the bugs