remove redirect stuff