compile fixes for counter rates