Bug fixes for 1.5.3

Here is some fixes for bugs reported until now.