fix invalid 'this = ...' syntax