fixed bugs found at the first test of version 1.1.0