Fixing php response