updated for Mojolicious 5.0