attempting to fix redirect issue