remove empty function to resolve the php error write context