fixed square brackets in attr tags