Added warning message in correct view