fixed issue regarding sections and the global variable email