fixed bin/compile binary and bug in viewss