fix bug and load previous status messages on boot