Fix for build and deploy in linux

From unknown reason, init before main cause error

Signed-off-by: darkenk <darkenk@gmail.com>