fix bad method calling