fixed files to match db changes