changed :allow-head-p to :allow-head.