patch to avoid try parse if there isn't bytes