fixed console context