added 406 erreor handle