clean pattern for require