fixed bug due to incomplete erasure of :linear attribute