fixed a bug in lime generator