small fixes flat detail