Fix string conversion on 3rd argument in genericHappendCommand