Auto gen minor fix