upgrade theme header to work with 0.6