added ngcon, fixed ngmod