got rid of a couple errors