fixing validation on check in page