added fix for invalid input
fixed verfica2