Disable optimizations to see if this fixes it