Fixed src undefined alert.