fixed up mistakes