Fix truncated code