fixes to a few thing

i am (not) good at code it seems