fixed issues with pre tags