Fix for refresh ajax