loading up at restart now correctly works