added version task
fixed package version bug