fix profile issue/saving via ajax