changed to GetCustomAttribute instead of GetCustomAttributes as anyway the attributes must be defined only once