solved thread problem with enable-threads=true