BUG FIX:database init problem fixed