Move the defer call