hash/array problem fixed