fix `detect_cols` returning timebased column as id.col