corrected the skip_in_table functions