weird problem with 302 error