Fixed multiple header bug