checking for None in msg type - required for scratchpy mod