fix for non array cleaning