empty botton check function