Fixed crash by not specifing realname