admin function bug fix
Merge pull request #17 from sergiokiselev/master

admin function bug fix