Fix callback reference issue

This error will trigger callback first when validation happen.