fix peripheral and share duplication bug q&d

2 jobs for master in 1 minute and 42 seconds (queued for 1 second)