Fixed an issue in REM Mixin