fix a bug print statement
Update refkernel. Close #134. Close #51.