set properties correctly on Mono