fixed invalid return type (ref #33)