Fixed reference issues causing styling issues.