a new log and some bugfix
a new log and some bugfix