Create guard instances explicitly

Due to the huge typo error I had in the last commit. I fix it in this commit and regarding the check for configuration for route and controller, I think it should be checked at other place since we don't have any check in this file.
Anyone have thoughts ?