resolved issues with cycles between java packages