initialize cmd_data for each handler entry