fix compling error