sanitize box width and extra filters