fix https://github.com/Ch3D/xRemindeRx/issues/4 and https://github.com/Ch3D/xRemindeRx/issues/3