fixed deletion of raw