fixing exception problems
version before 0.1.10