Fix prep bug