Core API
fix code style