Fixes compiling issues in loc and state
Merge branch 'master' of github.com:rss-2014-team-6/rss-team-6