fixed some small mistakes