added blank check