bug fix for method getAction