avoid NullPointerException when actionName is null