fixed bug in linespot