fix bootbehaviour bug