Fixing case of method call