fixed some client stuff