fix url normalizing
use package() instead of build() due to new standards