trying to fix custom variables