bug fix for action