centralized log feature
fixed ajax