Fixed error on character login