Fixed get currents and set pattern attr