added fix for laerning catch