init and ajax options fix