apply format to bibliography