change redirect signature
fix getAll bug