correct compile error