Fixed bug: src attribute check failed