some minor eror fixes