fixed warning in #31