try fixing compile errors