repair bug with stackoverflow