fixed carom compile errors