main:vc: fixed bug in locationservices