fixed bugs for release