fixed getUsage for empty String