removed images references, added error alert