added self and fixed contao