fix html error and margin