audit init and fix ajax compatriot validate