fix proces_all method