removes ironic buffer overflow