Fixed bug with exiting not exisiting table