moved output url default to 6px logic into model middleware