bugfixes and added source for version 1.1