fixing distribution management