Not sure why this is necessary, but it fixed a problem I was having