validation of blank fileds and page for that fixes #5