fixed zero sized bug and VERSION