Hopefully solves redirect to /undefined problem

Tests pending for now ༼;´༎ຶ ۝ ༎ຶ༽