Fixed a bug when calling context_code without linecount (default to 8)