fix layers
add location plugin