init work on mat ajax