fixed default value replacement for empty request parameters