fixed typo
added some delay to card api functions