fixing table creations, addings puts/gets