configure is not working right