Why are you only looking at the first attribute of the module?