fixed locks attr release