Fixed getLogger errors, added Table Check