Fixed the bug which gives money to player when the case of name has changed