papercut : pep8, master_tableS, foreign key check