fixed crash on enter in name input