query variables were missing $