Fixed duplicate parts bug