build as standalone module finally working