fixing opening position