Fix the period ajax create