resolve compile error?