Moodle 2.4 corrections