another fix to handle specs & lines