altered demwidth and height