fix indent
Merge branch 'ahmedmaster'
check shareid before shareid[0]
Merge pull request #210 from penner42/Issue-135

Issue 135