[Fix] import failed when closing brace is on same line