correct a few calling errors