check for balnk in view