ticket:6 fix ajax and settings