oups forgot to check var on the boot function