fix for rapache