Bugfix for chained method call