fixed some bugs and writing styles