improve level behavour