return null when no package passed