magic connect added fixed bugs