fix right sidebar addres calculation