fix some bugs in player effects