no idea what's wrong, fix known bugs