fixed problem with Rf calculation