fixed #22 and confirmed that it can be used with sections