Fixed couple of small bugs that prevented the dacs app from compiling