.apply removed while setting location by gene