fix year condition in view. register view form layout