update set_header to handle mounted apps