fixing issue with address attribute