codecleanup
allow non ajax request