Fixed incorrect references