fix bug console