fix process writer