get state by url method added
Bugfixes property check