fighting against f* endians