fix warning introduced in #29