fix some basic rest stuff