fixed normalized function for module