ensure correct classloading