fix a bug in beige
...