Patch hooks.php

 uid not recognized properly - now it should works fine (works for me)