fix a problem under linux