prevent endless loop at startup with disable attribute