Fix invoke method