Fix bug in flashCSplice