fixed a bug and removed lib.raw