Fix a bug in Rex. The bug caused a issue that only 10 meta values can be saved