minor fixes in attr req