Constant resolution fixed

It was shooting annoying PHP Warnings outisde of Application scope