fixing compile errors...