fix bugs apple map + shrinking mechanism