refine chemmech_ream; compilation get through