correct indetation
catching more specific exception