fixed for Mojolicious-5.0