fix adventure solution to handle different casing