fixed minor compile error