fixed zero bug