configure source bugs fixed