fixed some cosmetic errors