Fixed getccards() in app and server