checks all commands return