reduced perl-5.10 features
fixed a bug that html validator hasnt worked propery