find nullable done, has bug
fixing trim bug