fixing compile problem