Refactored movement from talon to foundation action
Fixed segfault