adjusting legs to not have duplicate images