fix moodle 2.5