fixes #109, replace eval by str2nr