Fixes.. now it compiles, but crashes.