fixing support of some vertex attributes