Customer defined attributes did not work properly (#844)