Removes unnecessary redirect