Fix issues #1,#5,#6,#7,#8 reported at github