Fixed error when including in head