Corrected pins migration