fix tags not being in lowercase, #491