prevent errors with "decodeJSON"