bug fixing and new version (0.7)