fixed self.perspin