fixes for tables and sample data creation during install process