selector if string length zero set to null