Bug fix.

Fix wrong attr order.