fixed minor issue with magnets