if controller return's null we print empty string