Fixed console references for release build