web_element box crop little refactor