change creation order avoid failing drop table because of reference order