trying to fix player bugs