fixed joda-time 2.4 incompatibility