trying to fix wrong redirect