fix rank and suit functions