fixed second bad reference