doesn't crash with ok button