add bar clears after ajax