Fixed user/character file bugs