fix boolean casting fron empty string