Merge pull request #48 from speccode/bugfix

fixing warning error caused by user_can
fix #49