Fix for install on DO, strange bug with and if ()