fixed broken texts because of wrong return value of many chaining methods in Class.h