reduce compile warning