fixed logg loading for client side