fixed mylar change settings function