Fix non-statically warning