fixed #11. and update version number to 0.4.1.