add config
fix drawing