fix negative attribute
format race template