Fixing issue with named argument