fixed enumeration error
handle abort properly