Fixed 500 internal server error.

issue #2 fixed.
update version to 1.0.2