fix whitespace
convert agent_id before sending in REST
mobile phone number is none in directory view