Try tweaking the order of table creations