fixes for ajaxify