fixed database not creating