handling empty arguments at TextProcessor.process method