fixed second occurrence of same bug