remove more is_array from encryption