minor comilation fixes