fix refresh error on due to change in api on jquery ui tabs