fixing action bug