fixed linux crash problem