add warning when red box