Fix the preload attribute parsing