Fixed problem of only one action in command