fixed db path and changed it to unix-style relative path.