fix delta return type