added icon, fixed a bug that resized