Fixed UserModule detection