fix modules definition