fixing errors with not cpp11