Fix gd-header