Fixed bug#1
Fixed bug#2
Fixed bug#3
Fixed bug#4
Fixed bug#5