fix raps helper