fixed table prefix, removed debug messages