bug #1949: remove function definition