Fixed bugs in Actions