fix bug. header must be passed as value