fix dashes in the title problem when calling to api