Fix getTable and get the prefix correctly now