Merge pull request #53 from yvespp/fix_subpmodule

fix usage of the subp module and function