fixed static warning