fix detail and export