Fix checked attribute