resetted weights to 1 after initialisation of afweight