Fixed bug in rprmeddis 1 and 2