export bug fixed