fix bug in hide label field