client freezing bugfix