add cast to string to prevent PHP warning