attempt to fix multiple header issue

fixes #3893