Fixed substr error