remove unused variable
implement location LWRP using library code