Minor bug in createDev