resolved 2 warning, otherwise gcc did not want to let me compile...