fix configure, no bugs now