add fallback for cprint