ticket:13 fix ajax