Design of Halbach magnet array is employed to solve mask deformation due to gravity. Uniform magnetic force exerted on mask can be yielded, which balances the mask gravity. The magnetic force on the mask changes slower when deviating from the Halbach magnet array comparing with conventional magnet array.