first query param wasn't set correctly on input