Changed default style and fixed some bugs