removing dangerous expose function