fixed crash after creating character