Merge pull request #169 from avelino/master

fixes last refresh, permission provider error, element alias