bug fixes, removed global compiler settings