fixed bugs in action classes, needs further refactoring