check action file first and then regirsterd action.