fixed bouncing errors