add empty and set input file rapid
rapid bug fix