Mysterious erb error