str_first & str_last fix