removed unused import and unneeded catch