fixed linux build for new resize signature