removing meta refresh that makes a ugly redirect