fixed nil answer problem