Fixed possible code execution (big thanks to sbx320)