fixing bug in iOS console