fix expose directive