allow null on static platforms