added validations for blank link