fixed bouncy problem