Removed unused local variable and import