add r for compilation mode, fix my occur and uncomment lvc