fixes bug in address index action