fixed bug where attributes were always transferred regardless of the attributes value in the configuration