fix for more sensitive gcc compiler