changed appearance removal to lower AND upper

only 1 loop instead of 2!