Fixing access callback for formats route