trying to fix indecied