resolve complilation issues