fixing warning error caused by user_can
Merge pull request #48 from speccode/bugfix

fixing warning error caused by user_can