Attempted fix for Mono