Fix str and arry functions