fixed sloppy mistakes