fixed css refs and cleaned up