an attempt at patching the moodle LMS for speed