Fixed bug inserted with last commit

updated version to 0.6