Fix ucwords applied on array