resolved bugs from clean analyses code.