Fixes some stuff.