fix for gcc