Fix issue when @extesion is empty
clean code :D
Merge pull request #1 from WaYdotNET/master

Fix when @extension is empty