avoid deprecation warning
fixed setup