compiling bug fix