fixed 406 error