The order of these two lines should be reverted.