'Invalid' event trigger added and fix validator contract