extract light method object: insert tailing semicolon when missed in initial fragment