Fixing a bug with the "auto" attribute