fixed db rake file