Minor bug fix to command-create-component