[tail-rec] fix flags
fix comments