fixed the last warning on -pedantic