only resize if we have params to do so