fixed wrong HTTP code response code while map creation