issue with implicit defined in package object