changed styles, fixed resources