fixed compliling bug