getting rid of excess prompts