Fixed Create pin bug