fix delete if blank