Added warning message at dimension change