fixed require issue
fixed defaults
comments to source code