my warning fix caused errors on sun. ill take the warnings back