fixed internal functions export