modified method _empty() in ItemAction.class.php