removed bug for multiple left or right