width was on incorrect element