stock module

small fix, removed variable 'sym' because its unused. 
better fix for non-existing symbols
changed prefix in error syntax