deal with client for flat