Fixing erb handler issue