Why is this breaking the modules table?