fix for redirect i was missing