fixed bug in redirect allowed?