The header should also be ' header %s' so the space can be removed from all the lines below (as otherwise you get again an extra space)