small fix to create-image