Fixing old layout attribute