compiler updates and minor bug fixes