display loader and protect