Fix some problems about to be static on a view in moving and optimisation