fixed resize prompt validation