Fixed bug and removed config to /moodle2