Fixed remotelru function