fixed bug with remider