Fix custom wimp header