Fix #220 create cache problem