fixes to supply module