Minor updates

I was trying this component and I found a couple of minor *errors* so I thought to fix them and to send this PR.