delete old permission tables