Fix module activate and listing error