resolving compilation issues