fixes some crap