Fixed error with adding multiple headers