Fixed : automatic generating db path is invalid