bugfix: missing validation