erb typo and better search