fix bootbehaviour