fix some css + api stuff