fixed erb issue