updating rem support now compatible with tipically less compilier