fixed custom attribute binding