fix problem with spaces (reading data from json)