added correct Content-Type and small syntax fixs