Fix create action and JSON.parse bugs.