Removed Table check

Not needed anymore
Made foreign key longer