Fix for attributes output