fix for the findbyid
Merge pull request #195 from dshurt/master

fix for the findbyid