Fixed issue with deadline variable definition on register controller

Signed-off-by: Pratheek Rebala <pratheekrebala@live.com>