fixed right boundary again