check before reload