turned off protected on to_query