fixed joda-time 2.4 incompatibility

This fixes the issue #35