handle case where there's no extension