fixes some things