fixed endAttribute offset
release build