Fixed ko dependency to work both global and local