Fixes half day bug.
fixes #63