fix error when .configure not exist