modified some attributes on layout