change public point to bin for deployment
fix schema for deploy