correcting compile errors from previous commit