fixes entity modul definition