fix table shared lock