fix errors from initial commit