remove old references
clean up styles