initial normalize options
small api code fix