add explicit format to query