removed warnings in gcc