removed unnecessary lines in boot method