fixed issues in Rprop