dont run format only if value is none