fixed export handler arguments