bugfix: added require param