replace bootstrap code