fix css image path, and confirm button type