rpl-malloc fix attempt