changed name of format method and fixed multidict error in case get format is not set