fixes an issue with the permalink title attribute