updated core file to remove lingering issiues related to use before
module packaging.