Fixed error where request to '/' returned an error