fixed problem with configure