fixed warnings for moodle form :)