fix query for routine_suggestion