fixed careless mistakes