cleanup loc