fix bug when removing repeatable attribute in yml