fixed incorrect sign preventing file opening when multiple definitions found