fix view path, fix locals port