removed useless bool magnet param