worked out the erb issue