getting null with apply get you empty string