fix some stupid stuff.