fix bug in heading