fix parse of names without extension