Fix res issue