Fixed register command deletion