BUG: remove debugging prints and convert warning prints to actual warnings.
BUG: remove debugging prints and convert warning prints to actual warnings.

tommy-u/enable,tommy-u/enable,tommy-u/enable,tommy-u/enable