bug fixed installing database tables