remove debug line
get from headers only if headers exists