Fix double assignment