Fix breaking bug on Mono