quick fix for AS3 intrinsic exceptions