add "if else" condition to left any prompt empty