fixed bug in concat weights code