fix bug in post yaml header