fix for client