API bugs and redirect bugs