get rid of redundant variable in bootbehaviour