standard fix for gcc