make sure not to skip rest of sections if empty section