fixes claroline/claroline#399