post of hazards now works

fixed a bug in the locate plugin