Fixed deprecated macro