fixed version error and other errors