fix cosmetic errors