try to fix array problem