helper for undressing objects