[misc] fix an error in import