undid redirect thing, fixed bug