Fixed that weird bug by running in separate process