fix for old gcc