remove duplicate code
alert prompts
fix wp notification