zero division or useless condition: dont crash when variable declaration is not parsed correctly