fix friendly_id error
add index to category slug