added a fix for the selection of the .line class