history bugs correction

delete console messages
fixed history issues