bug corretion calling the __pro__