fixes body and head tags