fix problem during compilation