Fixed error when overriding of user component