fixed bug with module and removed require stuff