rm old console.log
fix security aspect error in constructor
update