Bug fixed for version 1.1