redirect causing issues