Bug was found: used var $strtotime instead of $shortname