Fixed a bug when there is no 'interactively' parameter