test if error is caused by setting width and height?