view_inquiry not working