fix error/waring message