fix exports undefined error