hacky solution for SPM gui conflict