Fix loc typo in view

It was just a typo, but it causes 500 errors..