fix bug remove unused packages