Fixed document loading error on bootstrap