fixed bouncing error