Correct some stupid mistakes which prevented prolific to work.