bugfix: TYPE value should be int