checking if value is empty instead of NULL