Added rescue for redirect back error