Fixed rem problems