made safe for non-opengm systems