fixed q without var in crud_model