minimogrify - removed unnecessary refs