static warning fixed