improve static allocation notice