fix some demos, add file path for compiler input