fixed 500 output bug. version bump 1.0.4